{% extends "base.html" %}
{# 1.标题内容 #}
<title>{% block titleBlock %}
    用户中心
{% endblock %}</title>


{# 2.js文件内容 #}
{% block scriptBlock %}
    <script type="text/javascript" src="../../static/news/js/jquery.form.min.js"></script>
{% endblock %}


{# 3.页面的内容 #}
{% block contentBlock %}
    <div class="user_menu_con fl">
        <div class="user_center_pic">
            <img src="

                    {% if data.user_info.avatar_url %}{{ data.user_info.avatar_url }}{% else %}../../static/news/images/user_pic.png{% endif %}"
                 alt="用户图片" class="now_user_pic">
        </div>
        <div class="user_center_name">{{ data.user_info.nick_name }}</div>

        <ul class="option_list">
            <li class="active"><a href="{{ url_for("profile_info.base_info") }}" target="main_frame">基本资料</a></li>
            <li><a href="{{ url_for("profile_info.pic_info") }}" target="main_frame">头像设置</a></li>
            <li><a href="../../static/news/html/user_follow.html" target="main_frame">我的关注</a></li>
            <li><a href="{{ url_for("profile_info.pass_info") }}" target="main_frame">密码修改</a></li>
            <li><a href="{{ url_for("profile_info.user_collection") }}" target="main_frame">我的收藏</a></li>
            <li><a href="{{ url_for("profile_info.news_release") }}" target="main_frame">新闻发布</a></li>
            <li><a href="{{ url_for("profile_info.news_list") }}" target="main_frame">新闻列表</a></li>
        </ul>
    </div>
    <div class="user_con fr">
        <iframe src="{{ url_for("profile_info.base_info") }}" frameborder="0" name="main_frame" class="main_frame"
                id="main_frame"></iframe>
    </div>
{% endblock %}


{% block bootom %}
    </div>
    <div class="footer">
        <div class="footer_links">
            <a href="">关于我们</a>
            <span>|</span>
            <a href="">联系我们</a>
            <span>|</span>
            <a href="">招聘人才</a>
            <span>|</span>
            <a href="">友情链接</a>
        </div>
        <p class="copyright">
            CopyRight © 2018 新经资讯信息技术有限公司 All Rights Reserved<br/>
            电话：010-****888 京ICP备*******8号
        </p>
    </div>
{% endblock %}

